package yaty.lee.tencent.weibo.modules.oauth1.vo;

import yaty.lee.tencent.weibo.domain.VO;

public class AccessTokenVO extends VO {
    private String oauth_consumer_key;
    private String oauth_nonce;
    private String oauth_signature;
    private final String oauth_signature_method = "HMAC-SHA1";
    private String oauth_timestamp;
    private String oauth_token;
    private String oauth_verifier;
    private final String oauth_version = "1.0";

    public String getOauth_consumer_key() {
        return oauth_consumer_key;
    }

    public void setOauth_consumer_key(String oauth_consumer_key) {
        this.oauth_consumer_key = oauth_consumer_key;
    }

    public String getOauth_nonce() {
        return oauth_nonce;
    }

    public void setOauth_nonce(String oauth_nonce) {
        this.oauth_nonce = oauth_nonce;
    }

    public String getOauth_signature() {
        return oauth_signature;
    }

    public void setOauth_signature(String oauth_signature) {
        this.oauth_signature = oauth_signature;
    }

    public String getOauth_signature_method() {
        return oauth_signature_method;
    }

    public String getOauth_timestamp() {
        return oauth_timestamp;
    }

    public void setOauth_timestamp(String oauth_timestamp) {
        this.oauth_timestamp = oauth_timestamp;
    }

    public String getOauth_token() {
        return oauth_token;
    }

    public void setOauth_token(String oauth_token) {
        this.oauth_token = oauth_token;
    }

    public String getOauth_verifier() {
        return oauth_verifier;
    }

    public void setOauth_verifier(String oauth_verifier) {
        this.oauth_verifier = oauth_verifier;
    }

    public String getOauth_version() {
        return oauth_version;
    }

    @Override
    public String getReqUrl() {
        return "http://open.t.qq.com/cgi-bin/access_token";
    }

}
